<admintpl file="header"/></head>
<body>
<div class="wrap js-check-wrap">
    <fieldset>
        <article class="jxl-structure-core">
            <!-- uiView: undefined -->
            <ui-view class="ng-scope"><!-- uiView: content -->
                <div ui-view="content" class="ng-scope">
                    <div class="container ng-scope" style='width:90%'>
                        <div class="report report-fade  watermark-box active" ng-class="{
  &#39;active&#39;: reportDetail.showRenderReport,
  }" style="">

                            <div class="watermark-theme-text">
                                <h2 class="h2 report-title text-center" style="font-weight: 700;">
                                    互联网资信报告 </h2>

                                <!--基本信息开始-->
                                <div class="report-basic-info">
                                    <table class="table" style="margin-bottom:10px;">
                                        <tbody>
                                        <tr>
                                            <td style='border: none;'>
                                                <em class="ng-binding">编号：{$list.rpt_id}</em>
                                            </td>
                                            <td style="text-align: right;border: none;">
                                                <em class="ng-binding">报告时间：{$list.update_time}</em>
                                            </td>
                                        </tr>
                                        </tbody>
                                    </table>
                                </div>
                                <!--基本信息结束-->

                                <h4 class="report-item-title">用户申请表检测</h4>

                                <!--申请信息核查开始-->
                                <div class="report-basic-info" style="margin: 10px 0px;">
                                    <table class="table teb-time">
                                        <php>$dt=json_decode($list['application_check'],true)</php>
                                        <foreach name="dt" item="vo">
                                            <tbody ng-repeat="reportapp in reportDetail.report.application_check" class="ng-scope">
                                            <if condition="($vo.app_point eq user_name)">
                                                <tr ng-if="reportapp.app_point==&#39;user_name&#39;" class="ng-scope">
                                                    <th>姓名：</th>
                                                    <td>
                                                        <em class="ng-binding">{$vo.check_points.key_value}</em>
                                                    </td>
                                                    <td></td>
                                                </tr>
                                                <elseif condition="$vo.app_point eq id_card"/>
                                                <tr ng-if="reportapp.app_point==&#39;id_card&#39;" class="ng-scope">
                                                    <th>身份证：</th>
                                                    <td>
                                                        <em class="ng-binding">{$vo.check_points.key_value}</em>
                                                        <if condition="($vo['check_points']['court_blacklist']['arised'] eq 0)">
							<span class="label label-success ng-scope" ng-if="reportapp.check_points.court_blacklist.arised==false">
							<i class="fa fa-user-secret" aria-hidden="true"></i>不在法院黑名单</span>
                                                            <else/>
                                                            <span class="label label-danger ng-scope">
							<i class="fa fa-user-secret" aria-hidden="true"></i>在法院黑名单</span>
                                                        </if>

                                                        <if condition="($vo['check_points']['financial_blacklist']['arised'] eq 0)">
							<span class="label label-success ng-scope" ng-if="reportapp.check_points.court_blacklist.arised==false">
							<i class="fa fa-user-secret" aria-hidden="true"></i>不在金融机构黑名单</span>
                                                            <else/>
                                                            <span class="label label-danger ng-scope">
							<i class="fa fa-user-secret" aria-hidden="true"></i>在金融机构黑名单</span>
                                                        </if>
                                                    </td>
                                                    <td>
                                                        <em class="ng-binding">{$vo.check_points.gender}｜{$vo.check_points.age}｜{$vo.check_points.province}.{$vo.check_points.city}.{$vo.check_points.region}</em>
                                                    </td>
                                                </tr>
                                                <elseif condition="$vo.app_point eq cell_phone"/>
                                                <tr class="ng-scope">
                                                    <th>手机号：</th>
                                                    <td class="text-success ng-scope">
                                                        <em class="ng-binding">{$vo.check_points.website}｜
                                                            <if condition="$vo['check_points']['reliability'] eq '实名认证'">
								<span class="label label-success ng-binding">
								<i class="fa fa-user"></i>{$vo.check_points.reliability}</span> 注册时间：{$vo.check_points.reg_time}
                                                                <else/>
                                                                <span class="label label-danger ng-binding"><i class="fa fa-user"></i>{$vo.check_points.reliability}</span>
                                                            </if>
                                                        </em>
                                                    </td>
                                                    <td>
                                                        <em class="ng-binding">{$vo.check_points.key_value}</em>
                                                        <if condition="($vo.check_points.financial_blacklist.arised eq 0)">
							<span class="label label-success ng-scope" ng-if="reportapp.check_points.financial_blacklist.arised==false">
							<i class="fa fa-user-secret" aria-hidden="true"></i>不在金融机构黑名单</span>
                                                            <else/>
                                                            <foreach name="vo.check_points.financial_blacklist.black_type" item="vo">
							<span class="label label-danger ng-scope">
							<i class="fa fa-user-secret" aria-hidden="true"></i>{$vo}</span>
                                                            </foreach>
                                                        </if>
                                                    </td>

                                                </tr>
                                                <tr class="ng-scope">
                                                    <td></td>
                                                    <td>
                                                        <ul class="phone-list">
                                                            <php>
                                                                if(strpos($vo['check_points']['check_name'],'匹配成功')){ $typess='success'; }elseif(strpos($vo['check_points']['check_name'],'匹配失败')){ $typess='danger'; }else{ $typess='warning'; }
                                                            </php>
                                                            <li class="text-{$typess} ng-binding ng-scope">
                                                                {$vo.check_points.check_name}
                                                                <i style="font-size:14px; margin-left: 5px;" class="fa fa-exclamation-circle" aria-hidden="true"></i>
                                                            </li>
                                                            <php>
                                                                if(strpos($vo['check_points']['check_idcard'],'匹配成功')){ $typess='success'; }elseif(strpos($vo['check_points']['check_idcard'],'匹配失败')){ $typess='danger'; }else{ $typess='warning'; }
                                                            </php>
                                                            <li class="text-{$typess} ng-binding ng-scope">
                                                                {$vo.check_points.check_idcard}
                                                                <i style="font-size:14px; margin-left: 5px;" class="fa fa-exclamation-circle" aria-hidden="true"></i>
                                                            </li>
                                                            <php>
                                                                if(strpos($vo['check_points']['check_ebusiness'],'匹配成功')){ $typess='success'; }elseif(strpos($vo['check_points']['check_ebusiness'],'匹配失败')){ $typess='danger'; }else{ $typess='warning'; }
                                                            </php>
                                                            <li class="text-{$typess} ng-binding ng-scope">
                                                                {$vo.check_points.check_ebusiness}
                                                                <i style="font-size:14px; margin-left: 5px;" class="fa fa-exclamation-circle" aria-hidden="true"></i>
                                                            </li>
                                                        </ul>
                                                    </td>
                                                    <td></td>
                                                </tr>
                                                <elseif condition="$vo.app_point eq home_addr"/>
                                                <tr class="ng-scope">
                                                    <th width="88px;">居住地址：</th>
                                                    <td><em class="ng-binding">{$vo.check_points.key_value}</em></td>
                                                    <td style="width:400px;">
                                                        <em class="text-success ng-binding ng-scope" style="text-align: right"> {$vo.check_points.check_addr}{$vo.check_points.check_ebusiness}</em>
                                                    </td>
                                                </tr>
                                                <elseif condition="$vo.app_point eq home_phone"/>
                                                <if condition="($vo['check_points']['key_value'])">
                                                    <tr class="ng-scope">
                                                        <th>家庭电话：</th>
                                                        <td><em class="ng-binding">{$vo.check_points.key_value}</em>
                                                        </td>
                                                        <td>
                                                            <em class="text-success ng-binding ng-scope" style="text-align: right"> {$vo.check_points.check_mobile}</em>
                                                        </td>
                                                    </tr>
                                                </if>
                                                <elseif condition="$vo.app_point eq contact"/>
                                                <!-- ngIf: reportapp.app_point=='contact' -->
                                                <tr ng-if="reportapp.app_point==&#39;contact&#39;" class="ng-scope">
                                                    <th>联系人：</th>
                                                    <td>
                                                        <em class="ng-binding"> {$vo.check_points.relationship} ｜ {$vo.check_points.contact_name} ｜{$vo.check_points.key_value} </em>
                                                        <span class="label label-success ng-scope">
						<i class="fa fa-mobile" aria-hidden="true" style="font-size:16px;"></i>{$vo.check_points.check_xiaohao}</span>
                                                    </td>
                                                    <td></td>
                                                </tr>
                                                <tr class="ng-scope">
                                                    <td></td>
                                                    <td>
                                                        <php>$typess=strpos($vo['check_points']['check_mobile'],'没有该联系人')</php>
                                                        <em class="ng-binding text-{$typess?'success':'danger'}">{$vo.check_points.check_mobile}
                                                            <i style="font-size:14px;" class="fa fa-exclamation-circle" aria-hidden="true"></i></em>

                                                    </td>
                                                    <td></td>
                                                </tr>
                                            </if>
                                            </tbody>
                                        </foreach>
                                    </table>
                                </div>
                                <!--申请信息核查结束-->
                                <php>$dt=json_decode($list['user_info_check'],true)</php>
                                <h4 class="report-item-title">用户信息检测</h4>
                                <!--推断分析开始-->
                                <div class="report-item">
                                    <h2>
                                        <span>联系人数据</span>
                                    </h2>
                                    <table class="table">
                                        <tbody>
                                        <tr>
                                            <th width="110px;">用户查询信息</th>
                                            <td style="padding: 0px;">
                                                <table class="table" style="margin-bottom: 0px;">
                                                    <tbody>
                                                    <tr>
                                                        <th width="210px;" style=" border-top:none;border-left:1px solid #f5f5f5;">
                                                            查询过该用户的相关企业数量
                                                        </th>
                                                        <td style="border-top-style: none; border-right-width: 1px; border-right-style: solid; border-right-color: rgb(245, 245, 245);" ng-if="reportDetail.report.user_info_check.check_search_info.searched_org_cnt&gt;0" class="ng-binding ng-scope">
                                                            {$dt.check_search_info.searched_org_cnt}
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <th width="210px;" style=" border-left:1px solid #f5f5f5;">查询过该用户的相关企业类型</th>
                                                        <td style=" border-right:1px solid #f5f5f5;" class="neme-time">
                                                            <foreach name="dt.check_search_info.searched_org_type" item="vo">
                                                                <span class="nasb text-danger ng-binding ng-scope">{$vo}</span>
                                                            </foreach>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <th width="210px;" style=" border-left:1px solid #f5f5f5;">身份证组合过的其他姓名</th>
                                                        <td style=" border-right:1px solid #f5f5f5;" class="neme-time">
                                                            <if condition="$dt['check_search_info']['idcard_with_other_names']">
                                                                <foreach name="dt.check_search_info.idcard_with_other_names" item="vo">
                                                                    <span class="label label-danger ng-scope">{$vo}</span>
                                                                </foreach>
                                                                <else/>
                                                                <span class="label label-success ng-scope">无数据</span>
                                                            </if>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <th width="210px;" style=" border-left:1px solid #f5f5f5;">身份证组合过其他电话</th>
                                                        <td style=" border-right:1px solid #f5f5f5;" class="neme-time">
                                                            <if condition="$dt['check_search_info']['idcard_with_other_phones']">
                                                                <foreach name="dt.check_search_info.idcard_with_other_phones" item="vo">
                                                                    <span class="label label-danger ng-scope">{$vo}</span>
                                                                </foreach>
                                                                <else/>
                                                                <span class="label label-success ng-scope">无数据</span>
                                                            </if>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <th width="210px;" style=" border-left:1px solid #f5f5f5;">电话号码组合过其他姓名</th>
                                                        <td style=" border-right:1px solid #f5f5f5;" class="neme-time">
                                                            <!-- ngRepeat: phoneforName in reportDetail.report.user_info_check.check_search_info.phone_with_other_names -->
                                                            <if condition="$dt['check_search_info']['phone_with_other_names']">
                                                                <foreach name="dt.check_search_info.phone_with_other_names" item="vo">
                                                                    <span class="label label-danger ng-scope">{$vo}</span>
                                                                </foreach>
                                                                <else/>
                                                                <span class="label label-success ng-scope">无数据</span>
                                                            </if>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <th width="210px;" style=" border-left:1px solid #f5f5f5;">电话号码组合过其他身份证</th>
                                                        <td style=" border-right:1px solid #f5f5f5;" class="neme-time">
                                                            <!-- ngRepeat: phoneforIdcards in reportDetail.report.user_info_check.check_search_info.phone_with_other_idcards -->
                                                            <if condition="$dt['check_search_info']['phone_with_other_idcards']">
                                                                <foreach name="dt.check_search_info.phone_with_other_idcards" item="vo">
                                                                    <span class="label label-danger ng-scope">{$vo}</span>
                                                                </foreach>
                                                                <else/>
                                                                <span class="label label-success ng-scope">无数据</span>
                                                            </if>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <th width="210px;" style=" border-left:1px solid #f5f5f5;">电话号码注册过的相关企业数量</th>

                                                        <!-- ngIf: reportDetail.report.user_info_check.check_search_info.register_org_cnt==-1 || reportDetail.report.user_info_check.check_search_info.register_org_cnt==0 -->
                                                        <td style="border-top-style: none; border-right-width: 1px; border-right-style: solid; border-right-color: rgb(245, 245, 245);" ng-if="reportDetail.report.user_info_check.check_search_info.register_org_cnt==-1 || reportDetail.report.user_info_check.check_search_info.register_org_cnt==0" class="ng-scope">
                                                            {$dt.check_search_info.register_org_cnt}
                                                        </td>
                                                        <!-- end ngIf: reportDetail.report.user_info_check.check_search_info.register_org_cnt==-1 || reportDetail.report.user_info_check.check_search_info.register_org_cnt==0 -->
                                                        <!-- ngIf: reportDetail.report.user_info_check.check_search_info.register_org_cnt>0 -->
                                                    </tr>

                                                    <tr>
                                                        <th width="210px;" style=" border-left:1px solid #f5f5f5;">电话号码注册过的相关企业类型</th>
                                                        <td style=" border-right:1px solid #f5f5f5;" class="neme-time">
                                                            <!-- ngRepeat: register in reportDetail.report.user_info_check.check_search_info.register_org_type -->
                                                            <if condition="$dt['check_search_info']['register_org_type']">
                                                                <foreach name="dt.check_search_info.register_org_type" item="vo">
                                                                    <span class="label label-danger ng-scope">{$vo}</span>
                                                                </foreach>
                                                                <else/>
                                                                <span class="label label-default ng-scope">无数据</span>
                                                            </if>
                                                        </td>
                                                    </tr>

                                                    <tr>
                                                        <th width="210px;" style=" border-left:1px solid #f5f5f5; border-bottom:1px solid #f5f5f5;">
                                                            电话号码出现过的公开网站
                                                        </th>
                                                        <td style=" border-right:1px solid #f5f5f5; border-bottom:1px solid #f5f5f5;" class="neme-time">
                                                            <!-- ngRepeat: web in reportDetail.report.user_info_check.check_search_info.arised_open_web -->
                                                            <if condition="$dt['check_search_info']['arised_open_web']">
                                                                <foreach name="dt.check_search_info.arised_open_web" item="vo">
                                                                    <span class="label label-danger ng-scope">{$vo}</span>
                                                                </foreach>
                                                                <else/>
                                                                <span class="label label-default ng-scope">无数据</span>
                                                            </if>
                                                        </td>
                                                    </tr>
                                                    </tbody>
                                                </table>
                                            </td>
                                        </tr>
                                        </tbody>
                                    </table>
                                    <h2>
                                        <span>黑名单</span>
                                    </h2>
                                    <table class="table">
                                        <tbody>
                                        <tr>
                                            <th width="110px;">黑名单信息</th>
                                            <td style="padding: 0px;">
                                                <table class="table" style="margin-bottom: 0px;">
                                                    <tbody>
                                                    <tr class="{$dt['check_black_info']['phone_gray_score']<60?'danger':'success'}">
                                                        <th width="210px;" style=" border-top:none;border-left:1px solid #f5f5f5;">
                                                            黑中介分数
                                                        </th>
                                                        <!-- ngIf: reportDetail.report.user_info_check.check_black_info.phone_gray_score==null -->
                                                        <!-- ngIf: reportDetail.report.user_info_check.check_black_info.phone_gray_score!=null -->
                                                        <td style="border-top-style: none; border-right-width: 1px; border-right-style: solid; border-right-color: rgb(245, 245, 245);" ng-if="reportDetail.report.user_info_check.check_black_info.phone_gray_score!=null" class="ng-binding ng-scope">
                                                            {$dt.check_black_info.phone_gray_score}（分数范围0-100，参考分为10，分数越低关系越紧密）
                                                        </td><!-- end ngIf: reportDetail.report.user_info_check.check_black_info.phone_gray_score!=null -->
                                                    </tr>
                                                    <tr class="{$dt['check_black_info']['contacts_class1_blacklist_cnt']>1?'danger':'success'}">
                                                        <th width="210px;" style=" border-left:1px solid #f5f5f5;">直接联系人中黑名单人数</th>
                                                        <!-- ngIf: reportDetail.report.user_info_check.check_black_info.contacts_class1_blacklist_cnt!=null -->
                                                        <td style="border-right-width: 1px; border-right-style: solid; border-right-color: rgb(245, 245, 245);" class="neme-time ng-binding ng-scope" ng-if="reportDetail.report.user_info_check.check_black_info.contacts_class1_blacklist_cnt!=null">
                                                            {$dt.check_black_info.contacts_class1_blacklist_cnt} (直接联系人：和被查询号码有通话记录)
                                                        </td><!-- end ngIf: reportDetail.report.user_info_check.check_black_info.contacts_class1_blacklist_cnt!=null -->
                                                        <!-- ngIf: reportDetail.report.user_info_check.check_black_info.contacts_class1_blacklist_cnt==null -->
                                                    </tr>
                                                    <tr class="warning">
                                                        <th width="210px;" style=" border-left:1px solid #f5f5f5;">间接联系人中黑名单人数</th>
                                                        <!-- ngIf: reportDetail.report.user_info_check.check_black_info.contacts_class2_blacklist_cnt!=null -->
                                                        <td style="border-right-width: 1px; border-right-style: solid; border-right-color: rgb(245, 245, 245);" class="neme-time ng-binding ng-scope" ng-if="reportDetail.report.user_info_check.check_black_info.contacts_class2_blacklist_cnt!=null">
                                                            {$dt.check_black_info.contacts_class2_blacklist_cnt} (间接联系人：和被查询号码的直接联系人有通话记录)
                                                        </td><!-- end ngIf: reportDetail.report.user_info_check.check_black_info.contacts_class2_blacklist_cnt!=null -->

                                                        <!-- ngIf: reportDetail.report.user_info_check.check_black_info.contacts_class2_blacklist_cnt==null -->
                                                    </tr>
                                                    <tr>
                                                        <th width="210px;" style=" border-left:1px solid #f5f5f5;">直接联系人人数</th>
                                                        <!-- ngIf: reportDetail.report.user_info_check.check_black_info.contacts_class1_cnt!=null -->
                                                        <td style="border-right-width: 1px; border-right-style: solid; border-right-color: rgb(245, 245, 245);" class="neme-time ng-binding ng-scope" ng-if="reportDetail.report.user_info_check.check_black_info.contacts_class1_cnt!=null">
                                                            {$dt.check_black_info.contacts_class1_cnt} (直接联系人：和被查询号码有通话记录)
                                                        </td><!-- end ngIf: reportDetail.report.user_info_check.check_black_info.contacts_class1_cnt!=null -->
                                                        <!-- ngIf: reportDetail.report.user_info_check.check_black_info.contacts_class1_cnt==null -->
                                                    </tr>
                                                    <tr>
                                                        <th width="210px;" style=" border-left:1px solid #f5f5f5;">引起黑名单的直接联系人数量</th>
                                                        <!-- ngIf: reportDetail.report.user_info_check.check_black_info.contacts_router_cnt!=null -->
                                                        <td style="border-right-width: 1px; border-right-style: solid; border-right-color: rgb(245, 245, 245);" class="neme-time ng-binding ng-scope" ng-if="reportDetail.report.user_info_check.check_black_info.contacts_router_cnt!=null">
                                                            {$dt.check_black_info.contacts_router_cnt} (直接联系人有和黑名单用户的通讯记录的号码数量)
                                                        </td><!-- end ngIf: reportDetail.report.user_info_check.check_black_info.contacts_router_cnt!=null -->

                                                        <!-- ngIf: reportDetail.report.user_info_check.check_black_info.contacts_router_cnt==null -->
                                                    </tr>
                                                    <tr>
                                                        <th width="210px;" style=" border-left:1px solid #f5f5f5;">直接联系人中引起间接黑名单占比</th>
                                                        <!-- ngIf: reportDetail.report.user_info_check.check_black_info.contacts_router_ratio!=null -->
                                                        <td style="border-right-width: 1px; border-right-style: solid; border-right-color: rgb(245, 245, 245);" class="neme-time ng-binding ng-scope" ng-if="reportDetail.report.user_info_check.check_black_info.contacts_router_ratio!=null">
                                                            <php>$num=ceil($dt['check_black_info']['contacts_router_ratio']*100)</php>
                                                            {$num}% (直接联系人有和黑名单用户的通讯记录的号码数量在直接联系人数量中的百分比)
                                                        </td><!-- end ngIf: reportDetail.report.user_info_check.check_black_info.contacts_router_ratio!=null -->

                                                        <!-- ngIf: reportDetail.report.user_info_check.check_black_info.contacts_router_ratio==null -->
                                                    </tr>

                                                    </tbody>
                                                </table>
                                            </td>
                                        </tr>
                                        </tbody>
                                    </table>


                                    <h4 class="report-item-title">用户行为检测</h4>
                                    <!--用户行为检测开始-->
                                    <php>$dt=json_decode($list['behavior_check'],true)</php>
                                    <div class="report-item">
                                        <h2>
                                            <span>用户行为检测</span>
                                        </h2>
                                        <table class="table table-bordered">
                                            <thead>
                                            <tr>
                                                <!--<th width="300px;">检查点</th>-->
                                                <th width="200px;">检查项</th>
                                                <th width="300px;">结果</th>
                                                <th>依据</th>
                                            </tr>
                                            </thead>
                                            <tbody>
                                            <!-- ngRepeat: applicationCheck in reportDetail.report.behavior_check -->
                                            <foreach name="dt" item="vo">
                                                <tr class="ng-scope {$vo['score']==2?'danger':($vo['score']==0?'warning':'')}">
                                                    <td ng-bind="applicationCheck.check_point_cn" class="ng-binding">{$vo.check_point_cn}</td>
                                                    <td ng-bind="applicationCheck.result" class="ng-binding">{$vo.result}</td>
                                                    <td>
                                                        <!-- ngRepeat: check in applicationCheck.evidence --><span ng-repeat="check in applicationCheck.evidence" class="ng-scope">
                                <p class="ng-binding">{$vo.evidence}</p>
                            </span><!-- end ngRepeat: check in applicationCheck.evidence -->
                                                    </td>
                                                </tr>
                                            </foreach>
                                            <!-- end ngRepeat: applicationCheck in reportDetail.report.behavior_check -->
                                            </tbody>
                                            <tbody><!-- ngIf: reportDetail.report.behavior_check== 0 || reportDetail.report.behavior_check== null -->
                                            </tbody>
                                        </table>
                                    </div>
                                    <!--用户行为检测结束-->

                                    <h4 class="report-item-title">运营商消费数据</h4>
                                    <php>$dt=json_decode($list['cell_behavior'],true)</php>
                                    <!--运营商数据管理开始-->
                                    <div class="report-item">
                                        <h2>
                                            <span>运营商消费数据</span>
                                        </h2>
                                        <table class="table table-bordered">
                                            <thead>
                                            <tr>
                                                <th width="">运营商</th>
                                                <th width="">号码</th>
                                                <th width="">归属地</th>
                                                <th width="">月份</th>
                                                <th width="">呼叫次数</th>
                                                <th width="">主叫次数</th>
                                                <th width="">主叫时间(分钟)</th>
                                                <th width="">被叫次数</th>
                                                <th width="">被叫时间(分钟)</th>
                                                <th width="">短信数量</th>
                                                <th width="">话费消费</th>
                                            </tr>
                                            </thead>
                                            <tbody>
                                            <!-- ngRepeat: cell in reportDetail.report.cell_behavior[0].behavior -->
                                            <foreach name="dt.0.behavior" item="vo">
                                                <tr ng-repeat="cell in reportDetail.report.cell_behavior[0].behavior" class="ng-scope">
                                                    <td ng-bind="cell.cell_operator_zh" class="ng-binding">{$vo.cell_operator_zh}</td>
                                                    <td ng-bind="cell.cell_phone_num" class="ng-binding">{$vo.cell_phone_num}</td>
                                                    <td ng-bind="cell.cell_loc" class="ng-binding">{$vo.cell_loc}</td>
                                                    <td ng-bind="cell.cell_mth" class="ng-binding">{$vo.cell_mth}</td>
                                                    <td ng-bind="cell.call_cnt" class="ng-binding">{$vo.call_cnt}</td>
                                                    <td ng-bind="cell.call_out_cnt" class="ng-binding">{$vo.call_out_cnt}</td>
                                                    <td ng-bind="cell.call_out_time |number:2" class="ng-binding">{$vo.call_out_time|round=2}</td>
                                                    <td ng-bind="cell.call_in_cnt" class="ng-binding">{$vo.call_in_cnt}</td>
                                                    <td ng-bind="cell.call_in_time |number:2" class="ng-binding">{$vo.call_in_time|round=2}</td>
                                                    <td ng-bind="cell.sms_cnt" class="ng-binding">{$vo.sms_cnt}</td>
                                                    <td ng-if="(cell.total_amount | number:0) ==-1" class="ng-scope">
                                                        <if condition="$vo['total_amount'] eq -1">
                                                            <span class="label label-danger">无数据</span>
                                                            <else/>
                                                            {$vo.total_amount}
                                                        </if>
                                                    </td>
                                                </tr>
                                            </foreach>
                                            </tbody>
                                            <tbody><!-- ngIf: reportDetail.report.cell_behavior[0].behavior== 0 || reportDetail.report.cell_behavior== null -->
                                            </tbody>
                                        </table>
                                    </div>
                                    <!--运营商数据管理结束-->


                                    <h4 class="report-item-title">联系人区域汇总</h4>
                                    <php>$dt=json_decode($list['contact_region'],true)</php>
                                    <!--联系人区域汇总开始-->
                                    <div class="report-item">
                                        <h2>
                                            <span>联系人区域数据</span>
                                        </h2>
                                        <table class="table table-bordered">
                                            <thead>

                                            <tr>
                                                <th width="80px;">地区</th>
                                                <th width="">号码次数</th>
                                                <th width="">呼入次数</th>
                                                <th width="">呼出次数</th>
                                                <th width="">呼入时间(分钟)</th>
                                                <th width="">呼出时间(分钟)</th>
                                                <!--<th width="">平均呼入时间</th>-->
                                                <!--<th width="">平均呼出时间</th>-->
                                                <th width="">呼入次数百分比</th>
                                                <th width="">呼出次数百分比</th>
                                                <th width="">呼入时间百分比</th>
                                                <th width="">呼出时间百分比</th>
                                            </tr>
                                            </thead>
                                            <tbody>
                                            <!-- ngRepeat: region in reportDetail.report.contact_region | orderBy:['-region_call_out_cnt','-region_call_in_cnt'] -->
                                            <php>$region_call_in_cnt=0;$region_call_out_cnt=0;$region_call_in_time=0;$region_call_out_time=0;</php>
                                            <foreach name="dt" item="vo">
                                                <php>
                                                    $region_call_in_cnt+=$vo['region_call_in_cnt']; $region_call_out_cnt+=$vo['region_call_out_cnt']; $region_call_in_time+=$vo['region_call_in_time']; $region_call_out_time+=$vo['region_call_out_time'];
                                                </php>
                                            </foreach>
                                            <foreach name="dt" item="vo">
                                                <tr class="ng-scope">
                                                    <td ng-bind="region.region_loc" class="ng-binding">{$vo.region_loc}</td>
                                                    <td ng-bind="region.region_uniq_num_cnt" class="ng-binding">{$vo.region_uniq_num_cnt}</td>
                                                    <td ng-bind="region.region_call_in_cnt" class="ng-binding">{$vo.region_call_in_cnt}</td>
                                                    <td ng-bind="region.region_call_out_cnt" class="ng-binding">{$vo.region_call_out_cnt}</td>
                                                    <td ng-bind="region.region_call_in_time  |number:2" class="ng-binding">{$vo.region_call_in_time|round=2}</td>
                                                    <td ng-bind="region.region_call_out_time |number:2" class="ng-binding">{$vo.region_call_out_time|round=2}</td>
                                                    <!--<td ng-bind="region.region_avg_call_in_time |number:2"></td>-->
                                                    <!--<td ng-bind="region.region_avg_call_out_time |number:2"></td>-->
                                                    <td class="ng-binding">{$vo['region_call_in_cnt']/$region_call_in_cnt*100|round=2}%</td>
                                                    <td class="ng-binding">{$vo['region_call_out_cnt']/$region_call_out_cnt*100|round=2}%</td>
                                                    <td class="ng-binding">{$vo['region_call_in_time']/$region_call_in_time*100|round=2}%</td>
                                                    <td class="ng-binding">{$vo['region_call_out_time']/$region_call_out_time*100|round=2}%</td>
                                                </tr>
                                            </foreach>
                                            </tbody>
                                        </table>
                                    </div>
                                    <!--联系人区域汇总结束-->


                                    <h4 class="report-item-title">运营商数据分析</h4>
                                    <php>$dt=json_decode($list['contact_list'],true)</php>
                                    <!--通话记录数据分析开始-->
                                    <div class="report-item">
									<php>$i=0;</php>
									<foreach name="dt" item="vo">
										<if condition="$mobileList[$vo['phone_num']]">
											<php>$i+=1;</php>
										</if>
									</foreach>
                                        <h2>
                                            <span style='float:left'>通话数据分析(匹配通讯录条数{$i})</span>
                                            <span style='float:right'><a href="{:U('indexadmin/yys_raw_down',array('id'=>$list['id'],'type'=>2))}">通话信息导出</a></span>
                                        </h2>
                                        <table class="table table-bordered table-center">
                                            <thead>
                                            <tr>
                                                <th>号码</th>
                                                <th>互联网标识</th>
                                                <th>需求类型</th>
                                                <th>归属地</th>
                                                <th>联系次数</th>
                                                <th>联系时间(分)</th>
                                                <th>主叫次数</th>
                                                <th>被叫次数</th>
                                            </tr>
                                            </thead>
                                            <tbody>
                                            <!-- ngRepeat: contact in reportDetail.report.contact_list | orderBy:['-call_cnt'] -->
                                            <foreach name="dt" item="vo">
                                                <tr ng-repeat="contact in reportDetail.report.contact_list | orderBy:[&#39;-call_cnt&#39;]" class="ng-scope">
                                                    <td ng-bind="contact.phone_num" class="ng-binding">{$vo.phone_num}
													<if condition="$mobileList[$vo['phone_num']]">
													<span style='color:blue'>({$mobileList[$vo['phone_num']]})</span>
													</if>
													</td>
                                                    <td class="ng-binding ng-scope">
                                                        <if condition="$vo['contact_name'] neq '未知'">
                                                            <if condition="$vo['needs_type'] neq '未知'">
                                                                <span class="label ng-binding label-primary">{$vo.contact_name}</span>
                                                                <else/>
                                                                <span class="label ng-binding label-default">{$vo.contact_name}</span>
                                                            </if>
                                                            <else/>
                                                            {$vo.contact_name}
                                                        </if>
                                                    </td><!-- end ngIf: contact.contact_name=='未知' -->
                                                    <td ng-bind="contact.needs_type" class="ng-binding">{$vo.needs_type}</td>
                                                    <td ng-bind="contact.phone_num_loc" class="ng-binding">{$vo.phone_num_loc}</td>
                                                    <td ng-bind="contact.call_cnt" class="ng-binding">{$vo.call_cnt}</td>
                                                    <td ng-bind="contact.call_len | number:2" class="ng-binding">{$vo.call_len|round=2}</td>
                                                    <td ng-bind="contact.call_out_cnt" class="ng-binding">{$vo.call_out_cnt}</td>
                                                    <td ng-bind="contact.call_in_cnt" class="ng-binding">{$vo.call_in_cnt}</td>
                                                </tr>
                                            </foreach>
                                            </tbody>
                                        </table>
                                    </div>
                                    <!--通话记录数据分析结束-->


                                    <h4 class="report-item-title">联系人信息和地址信息</h4>
                                    <php>$dt=json_decode($list['collection_contact'],true)</php>
                                    <div class="report-item">
                                        <h2>
                                            <span>联系人数据(来源于紧急联系人和电商收货人)</span>
                                        </h2>
                                        <table class="table table-bordered table-center">
                                            <thead>
                                            <tr>
                                                <th>联系人</th>
                                                <th>最早联系时间</th>
                                                <th>最晚联系时间</th>
                                                <th>联系电话</th>
                                                <th>近半年通话</th>
                                            </tr>
                                            </thead>
                                            <tbody>
                                            <!-- ngRepeat: collectionContact in reportDetail.report.collection_contact -->
                                            <if condition="$dt">
                                                <foreach name="dt" item="vo">
                                                    <tr ng-class="{&#39;danger&#39;:collectionContact.begin_date == &#39;&#39; ||collectionContact.end_date==&#39;&#39;}" ng-repeat="collectionContact in reportDetail.report.collection_contact" class="ng-scope">
                                                        <td ng-bind="collectionContact.contact_name" class="ng-binding">{$vo.contact_name}</td>

                                                        <td ng-if="collectionContact.begin_date!=&#39;&#39;" ng-bind="collectionContact.begin_date" class="ng-binding ng-scope">{$vo.begin_date}</td>

                                                        <td ng-if="collectionContact.end_date!=&#39;&#39;" ng-bind="collectionContact.end_date" class="ng-binding ng-scope">{$vo.end_date}</td>
                                                        <td>
                                                            <p ng-repeat="detail in collectionContact.contact_details" class="ng-scope">
                                                                <foreach name="vo.contact_details" item="vs">
                                                                    <span ng-bind="detail.phone_num" class="ng-binding">{$vs.phone_num}</span>
                                                                    <span ng-bind="detail.phone_num_loc" class="ng-binding">{$vs.phone_num_loc}</span>
                                                                </foreach>
                                                            </p>
                                                        </td>
                                                        <td>
                                                            通话<span ng-bind="collectionContact.contact_details[0].call_len | number:2" class="ng-binding">{$vo.contact_details.0.call_len|round=2}</span>分钟
                                                        </td>
                                                    </tr>
                                                </foreach>
                                                <else/>
                                            <tbody>
                                            <tr class="danger text-center ng-scope" ng-if="reportDetail.report.trip_info.length == 0 || reportDetail.report.trip_info == null">
                                                <td colspan="5">没有联系人数据记录</td>
                                            </tr>
                                            </tbody>
                                            </if></tbody>
                                        </table>
                                    </div>
                                    <!--联系人信息数据分析结束-->

                                    <!--送货地址数据分析开始-->
                                    <!-- <div class="report-item"> -->
                                    <!-- <h2> -->
                                    <!-- <span>地址信息</span> -->
                                    <!-- </h2> -->
                                    <!-- <table class="table table-bordered"> -->
                                    <!-- <thead> -->
                                    <!-- <tr> -->
                                    <!-- <th>地址</th> -->
                                    <!-- <th>总消费金额</th> -->
                                    <!-- <th>收货人姓名</th> -->
                                    <!-- <th>收货人手机</th> -->
                                    <!-- </tr> -->
                                    <!-- </thead> -->
                                    <!-- <tbody> -->
                                    <!-- <tr ng-if="reportDetail.report.deliver_address.length == 0 || reportDetail.report.deliver_address == null" class="ng-scope">-->
                                    <!-- <td class="danger text-center" colspan="4"> -->
                                    <!-- 未收集到电商数据 -->
                                    <!-- </td> -->
                                    <!-- </tr> -->
                                    <!-- </tbody> -->
                                    <!-- </table> -->
                                    <!-- </div> -->
                                    <!--送货地址数据分析结束-->

                                    <!--电商＃ 电商数据分析开始-->

                                    <!-- <h4 class="report-item-title">电商数据分析</h4> -->
                                    <!-- <div class="report-item"> -->
                                    <!-- <h2> -->
                                    <!-- <span>电商消费记录</span> -->
                                    <!-- </h2> -->
                                    <!-- <table class="table table-bordered table-center"> -->
                                    <!-- <thead> -->
                                    <!-- <tr> -->

                                    <!-- <th>月份</th> -->
                                    <!-- <th>全部消费笔数</th> -->
                                    <!-- <th>全部消费金额(元)</th> -->
                                    <!-- <th>品类分析</th> -->
                                    <!-- </tr> -->
                                    <!-- </thead> -->
                                    <!-- <tbody> -->

                                    <!-- <!-- ngIf: reportDetail.report.ebusiness_expense.length == 0 ||reportDetail.report.ebusiness_expense == null -->
                                    <!--<tr ng-if="reportDetail.report.ebusiness_expense.length == 0 ||reportDetail.report.ebusiness_expense == null" class="ng-scope"> -->
                                    <!-- <td colspan="7" class="danger text-center">未收集到电商数据</td> -->
                                    <!-- </tr> -->
                                    <!-- </tbody> -->
                                    <!-- </table> -->
                                    <!-- </div> -->
                                    <!--电商＃ 电商数据分析开始-->

                                    <h4 class="report-item-title">出行数据分析</h4>
                                    <php>$dt=json_decode($list['trip_info'],true)</php>
                                    <!--出行数据分析开始-->
                                    <div class="report-item">
                                        <h2>
                                            <span>出行数据</span>
                                        </h2>
                                        <table class="table table-bordered table-center">
                                            <thead>
                                            <tr>
                                                <th>时间段</th>
                                                <th>出发时间</th>
                                                <th>回程时间</th>
                                                <th>出发地</th>
                                                <th>目的地</th>
                                            </tr>
                                            </thead>
                                            <if condition="$dt">
                                                <tbody>
                                                <!-- end ngRepeat: tripInfo in reportDetail.report.trip_info -->
                                                <foreach name="dt" item="vo">
                                                    <tr ng-repeat="tripInfo in reportDetail.report.trip_info" class="ng-scope">
                                                        <td ng-bind="tripInfo.trip_type" class="ng-binding">{$vo.trip_type}</td>
                                                        <td ng-bind="tripInfo.trip_start_time" class="ng-binding">{$vo.trip_start_time}</td>
                                                        <td ng-bind="tripInfo.trip_end_time" class="ng-binding">{$vo.trip_end_time}</td>
                                                        <td ng-bind="tripInfo.trip_leave" class="ng-binding">{$vo.trip_leave}</td>
                                                        <td ng-bind="tripInfo.trip_dest" class="ng-binding">{$vo.trip_dest}</td>
                                                    </tr>
                                                </foreach>
                                                </tbody>
                                                <else/>
                                                <tbody>
                                                <tr class="danger text-center ng-scope" ng-if="reportDetail.report.trip_info.length == 0 || reportDetail.report.trip_info == null">
                                                    <td colspan="5">运营商漫游记录中无出行记录发现</td>
                                                </tr>
                                                </tbody>
                                            </if>
                                        </table>
                                    </div>
                                    <!--出行数据分析结束-->
                                </div>
                            </div>

                        </div>
                    </div>


                    <style class="ng-scope">

                        address, caption, cite, code, dfn, em, th, var {
                            font-style: normal;
                            font-weight: 400;
                        }

                        tbody td, tbody th {
                            border: 1px solid #CCCCCC;
                        }

                        tbody tr > th {
                            background: #f5f5f5;
                            font-size: 13px !important;
                        }

                        td .label {
                            margin-right: 10px;
                        }

                        td .label {
                            margin: 3px;
                        }

                        .table42 td {
                            font-size: 8px !important;
                        }

                        .table-td {
                            text-align: right;
                            padding-right: 15px;
                        }

                        .report42 td {
                            font-size: 13px !important;
                        }

                        .report42 .fa {
                            margin-right: 5px;
                        }

                        h2 {
                            margin-top: 15px !important;
                        }

                        .report-item-title {
                            background: #06b;
                            padding: 13px;
                            color: #FFF;
                            text-align: center;
                            font-weight: 600;
                            font-size: 14px;
                            border-top-left-radius: 5px;
                            border-top-right-radius: 5px;
                        }

                        .table th, .table td {
                            padding: 8px;
                            line-height: 20px;
                            text-align: left;
                            vertical-align: top;
                            border: 1px solid #ddd;
                        }

                        .report-item h2 {
                            font-size: 15px;
                            color: #337ab7;
                            margin-top: 15px;
                        }

                        .label-danger {
                            background-color: #d9534f;
                        }

                        .neme-time span.nasb {
                            width: 25%;
                            display: inline-block;
                            padding: 8px 5px;
                        }

                        .text-danger {
                            color: #a94442;
                        }

                        .table > tbody > tr.warning > td, .table > tbody > tr.warning > th, .table > tbody > tr > td.warning, .table > tbody > tr > th.warning, .table > tfoot > tr.warning > td, .table > tfoot > tr.warning > th, .table > tfoot > tr > td.warning, .table > tfoot > tr > th.warning, .table > thead > tr.warning > td, .table > thead > tr.warning > th, .table > thead > tr > td.warning, .table > thead > tr > th.warning {
                            background-color: #fcf8e3;
                        }

                        .report-item > .table-bordered > tbody > tr > td, .report-item > .table-bordered > tbody > tr > td > table > tbody > tr > td, .report-item > .table-bordered > tbody > tr > td > table > thead > tr > th, .report-item > .table-bordered > thead > tr > th {
                            border-width: 1px;
                            padding: 8px;
                            vertical-align: middle !important;
                            font-size: 13px;
                            font-weight: 400;
                        }

                        body, button, input, select, td, textarea, th {
                            font-family: "Microsoft Yahei", "Hiragino Sans GB", "Helvetica Neue", Helvetica, tahoma, arial, Verdana, sans-serif, "WenQuanYi Micro Hei", "\5B8B\4F53";
                            font-size: 12px;
                            color: #666 !important;
                            -webkit-font-smoothing: antialiased;
                            -moz-osx-font-smoothing: grayscale;
                        }

                        .table > tbody > tr.danger > td, .table > tbody > tr.danger > th, .table > tbody > tr > td.danger, .table > tbody > tr > th.danger, .table > tfoot > tr.danger > td, .table > tfoot > tr.danger > th, .table > tfoot > tr > td.danger, .table > tfoot > tr > th.danger, .table > thead > tr.danger > td, .table > thead > tr.danger > th, .table > thead > tr > td.danger, .table > thead > tr > th.danger {
                            background-color: #f2dede;
                        }

                        .label-default {
                            background-color: #777;
                        }

                        .label-primary {
                            background-color: #428bca;
                        }

                        .label {
                            display: inline;
                            padding: .2em .6em .3em;
                            font-size: 75%;
                            color: #fff;
                            border-radius: .25em;
                        }

                        .report-basic-info .table > tbody > tr > td, .report-basic-info .table > tbody > tr > th, .report-basic-info .table > tfoot > tr > th, .report-basic-info .table > thead > tr > td, .report-basic-info .table > thead > tr > th, .teb-time > tbody + tbody {
                            border-top: none;
                        }

                        .report-basic-info table tr, .table > tbody > tr > td, .table > tbody > tr > th, .table > tfoot > tr > td, .table > tfoot > tr > th, .table > thead > tr > td, .table > thead > tr > th {
                            vertical-align: middle;
                        }

                        .table > tbody > tr > td, .table > tbody > tr > th, .table > tfoot > tr > td, .table > tfoot > tr > th, .table > thead > tr > td, .table > thead > tr > th {
                            padding: 8px;
                            line-height: 1.42857143;
                            vertical-align: top;
                            border-top: 1px solid #ddd;
                        }

                        .teb-time th {
                            background: #f5f5f5;
                            border: none;
                            text-align: right;
                            color: #333;
                        }
                    </style>
                </div>
            </ui-view>
        </article>
    </fieldset>
</div>
<script src="__PUBLIC__/js/common.js"></script>
</body></html>